package com.alan.camunda.boot.config;

import org.camunda.bpm.engine.impl.history.event.HistoryEvent;
import org.camunda.bpm.engine.impl.history.handler.HistoryEventHandler;

import java.util.List;

/**
 * 自行处理历史记录
 * 不进行持久化
 * Camunda 提供的默认实现是 DbHistoryEventHandler
 */
public class MyHistoryEventHandler  implements HistoryEventHandler {


    @Override
    public void handleEvent(HistoryEvent historyEvent) {

    }

    @Override
    public void handleEvents(List<HistoryEvent> historyEvents) {

    }


}
